package com.example.combwx;

import android.content.Context;
import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.multidex.MultiDexApplication;

import com.baidu.location.BDAbstractLocationListener;
import com.baidu.location.BDLocation;
import com.baidu.location.LocationClient;
import com.baidu.location.LocationClientOption;
import com.example.combwx.db.DaoSession;
import com.example.combwx.db.UserUtility;
import com.shuyu.gsyvideoplayer.player.IjkPlayerManager;
import com.shuyu.gsyvideoplayer.player.PlayerFactory;
import com.shuyu.gsyvideoplayer.utils.GSYVideoType;

public class App extends MultiDexApplication {
    private static App instance;

    public static App getInstance() {
        return instance;
    }


    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        UserUtility.getInstance().init(this);
//设置gsy播放器使用ijk 软解播放器内核
        PlayerFactory.setPlayManager(IjkPlayerManager.class);
        //设置GSY播放器画面宽高比16:9
        GSYVideoType.setShowType(GSYVideoType.SCREEN_TYPE_16_9);
    }


}